package com.fbty.mt.utils;

public class IpTxt {

	private String ip;
	
	private int port;
	
	private String type;
	
	private String country;
	
	private String region;
	
	private String city;
	
	public IpTxt() {
	}

	public IpTxt(String ip, int port, String type, String country,
			String region, String city) {
		super();
		this.ip = ip;
		this.port = port;
		this.type = type;
		this.country = country;
		this.region = region;
		this.city = city;
	}


	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return  ip + "|" + port+"|"+type+"|"+country+"|"+region+"|"+city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
	
	

}
